﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Agenda_Project.Models.Committee>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>

<% using (Html.BeginForm()) { %>

<fieldset>
    <legend>Committee</legend>

    <table>

        <tr>
        <td class="editor-label"><%: Html.LabelFor(model => model.Code) %></td>
        <td>&nbsp;:&nbsp;</td>
        <td class="editor-field"><%: Html.DisplayFor(model => model.Code)%></td>
        </tr>

        <tr>
        <td class="editor-label"><%: Html.LabelFor(model => model.Name) %></td>
        <td>&nbsp;:&nbsp;</td>
        <td class="editor-field"><%: Html.DisplayFor(model => model.Name)%></td>
        </tr>

        <tr>
        <td class="editor-label"><%: Html.LabelFor(model => model.NameTH) %></td>
        <td>&nbsp;:&nbsp;</td>
        <td class="editor-field"><%: Html.DisplayFor(model => model.NameTH)%></td>
        </tr>

        <tr>
        <td class="editor-label"><%: Html.LabelFor(model => model.Remark) %></td>
        <td>&nbsp;:&nbsp;</td>
        <td class="editor-field"><%: Html.DisplayFor(model => model.Remark) %></td>
        </tr>

        <tr>
        <td class="editor-label">&nbsp;</td>
        <td>&nbsp;</td>
        <td class="editor-field">&nbsp;</td>
        </tr>

        <tr>
        <td class="editor-label"><%: Html.ActionLink("Back to List", "Index") %></td>
        <td>&nbsp;</td>
        <td class="editor-field"><input type="submit" value="Delete" /></td>
        </tr>
        
        </table>

    <%--<div class="display-label">
        <%: Html.DisplayNameFor(model => model.Remark) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Remark) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.CancelBy.Code) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CancelBy.Code) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.CancelDate) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CancelDate) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.CancelTime) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CancelTime) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.Code) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Code) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.Name) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Name) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.NameTH) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.NameTH) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.Active) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Active) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.CreateBy.Code) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CreateBy.Code) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.CreateDate) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CreateDate) %>
    </div>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.CreateTime) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.CreateTime) %>
    </div>--%>
</fieldset>

<% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
